class CreatePlayers < ActiveRecord::Migration
  def self.up
    create_table :players do |t|
      t.integer :id
	  t.integer :game_id
      t.string :name
      t.string :password
      t.integer :partner_id
      t.integer :position
      t.integer :above_line
      t.integer :below_line
	  t.integer :tricks_won

      t.timestamps
    end
  end

  def self.down
    drop_table :players
  end
end
